SMPTE Iris Effects (`smp2')
This effect is an implementation of the 26 iris effects from ANSI/SMPTE 258M-1993, plus two Apple-defined wipes that choose a random effect. These are a series of "reveal" type effects which take place between two sources. For full definitions of these 26 iris effects and what they look like, please refer to the SMPTE documentation.
Example:
The SMPTE effects take two sources and seven parameters.
Parameters
kParameterEnumList, 1, noChildren,
{
long { "3" }; // No of elements in the enum
long {"1"}; string { "Straight Alpha" };
long {"2"}; string { "Pre-multiply Alpha" };
long {"3"}; string { "Reverse Alpha" };
};
-
-
Name
|
Code
|
Type
|
Description
|
Percentage
|
`pcnt'
|
Fixed
|
This parameter is a tween. QuickTime will render the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. If the tween goes from 0 to 100, the effect renders completely. If the tween goes from 25 to 75, for example, rendering begins 25% into the effect and terminates 75% through the effect.
|
Wipe ID
|
`wpID'
|
Enum
|
The SMPTE ID for the effect. By setting this parameter, you control which of the 26 available iris effects is used.
|
Soft Border
|
`soft'
|
BitField
|
If this parameter contains
true
, the border drawn around the second source is blurred.
|
Border Width
|
`widt'
|
Fixed
|
The width, in pixels, of a border which is drawn around the second source.
|
Border Color
|
`bclr'
|
RGBValue
|
The RGB color of the border around the second source.
|
Horizontal Repeat
|
`hori'
|
Long
|
The number of horizontal repeats of the effect that are executed in a single source.
|
Vertical Repeat
|
`vert'
|
Long
|
The number of vertical repeats of the effect that are executed in a single source.
|
Wipe ID Enum
The Wipe ID parameter can take the following values:
101.Rectangle
102.Diamond
103.Triangle
104.Triangle right
105.Triangle upside down
106.Triangle left
107.Arrowhead
108.Arrowhead right
109.Arrowhead upside down
110.Arrowhead left
111.Pentagon
112.Pentagon upside down
113.Hexagon
114.Hexagon side
119.Circle
120.Oval
121.Oval side
122.Cat eye
123.Cat eye side
124.Round rect
125.Round rect side
127.4 point star
128.5 point star
129.6 point star
130.Heart
131.Keyhole
409. Random Effect - one of the 133 SMPTE effects is chosen at random.
502. Random Iris - one of the 26 SMPTE iris effects is chosen at random.
© 1997 Apple Computer, Inc.| Previous | Chapter contents | Chapter top | Section top | Next |